const express = require('express')
const cart = require('../../middleware/cart/cart')
const jwtParse = require('../../middleware/jwtParse/jwtParse')
const router = express.Router()
router.use(express.json());

router.get('/cartList',jwtParse, cart.cartList)
router.post('/cartList/countChange',jwtParse, cart.countChange)
router.post('/addCart',jwtParse, cart.addCart)
router.post('/deleteCart',jwtParse, cart.deleteCart)

module.exports = router